package com.enjoy.ch5;

import java.util.ArrayList;
import java.util.List;

public class TestUseParNewGC {
    public static void main(String[] args) throws InterruptedException {

        List<Object> list = new ArrayList<Object>();
        for (int i = 0; i < Integer.MAX_VALUE; i++) {
            Thread.sleep(100);
            list.add(new Object());
        }
    }
}
